package com.gupao.study.proxy.cglibProxy;

public class CglibProxyTest {
	public static void main(String[] args) {
		CglibProxy cp = new CglibProxy(new Tom());
		Tom t = (Tom) cp.getInstance();
		t.findHouse();
		//只要调用被代理对象的方法，就会只执行代理
		t.toString();
	}
}
